package cn.fuhao.springboot.demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class JspController {

    @GetMapping("/index")
    public String index(Model model){
        model.addAttribute("msg", "Spring Boot集成jsp");
        return "index";
    }
}
